{extend name='common:base'}
{block name="content"}
<div class="panel panel-default">
    <div class="panel-heading"><h3>设置用户组</h3></div>
    <div class="panel-body">
        <form action="" method="post">
            {notempty name="auth"}
                {foreach $auth as $vo}
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" name="group_id[]" value="{$vo.id}" {in name="$vo.id" value="$myAuth"}checked{/in}>{$vo.title}
                        </label>
                    </div>
                {/foreach}
            {/notempty}
            <input type="submit" class="btn btn-default" value="修改">
            <input type="reset" class="btn btn-default" value="取消">
        </form>
    </div>
</div>
{/block}
